package com.fqxiny.lease.web.admin.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.fqxiny.lease.model.entity.SystemUser;
import com.fqxiny.lease.web.admin.service.SystemUserService;
import com.fqxiny.lease.web.admin.mapper.SystemUserMapper;
import com.fqxiny.lease.web.admin.vo.user.SystemUserItemVo;
import com.fqxiny.lease.web.admin.vo.user.SystemUserQueryVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
* @author 25312
* @description 针对表【system_user(员工信息表)】的数据库操作Service实现
* @createDate 2025-03-25 19:55:24
*/
@Service
public class SystemUserServiceImpl extends ServiceImpl<SystemUserMapper, SystemUser>
    implements SystemUserService{
    @Autowired
    private SystemUserMapper systemUserMapper;
    @Override
    public SystemUserItemVo getItemById(Long id) {
        return systemUserMapper.getItemById(id);
    }

    @Override
    public IPage<SystemUserItemVo> conditionPage(IPage<SystemUserItemVo> page, SystemUserQueryVo queryVo) {
        return systemUserMapper.conditionPage(page,queryVo);
    }
}




